<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Goodpic extends CI_Controller {
	function __construct()
	{
		parent::__construct();
		
 		$this->load->model('common/security_model');
		if($this->security_model->isLogin() === FALSE){
			showmessage('请登录', 'login', 2);
		}
	}

	public function index()
	{
		$this->load->template('goodpic_tpl', $data);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */